#!/usr/bin/expect -f

set timeout 600

spawn scp /mnt/datadisk4/CASP9/$argv.fasta qiang@192.168.131.121:/public/home/users/qiang/rosetta3/fasta
expect "*?assword:*"
send "qiang123\r"  
expect eof